using System;

namespace BoatNGoat.Logic
{
    public static class Rnd
    {
        private static readonly Random Random = new Random();

        public static int Next(int min, int max)
        {
            return Random.Next(min, max);
        }

        /// <summary>
        /// Returns a random number between 0.0 and 1.0.
        /// </summary>
        /// <returns></returns>
        public static double NextDouble()
        {
            return Random.NextDouble();
        }
    }
}